package org.javaboy;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.stream.IntStream;
import java.util.stream.Stream;

public class Demo07 {
    public static void main(String[] args) {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
        String[] strs = new String[]{"2020-01-01"};
        Arrays.stream(strs).peek(System.out::println).forEach(System.out::println);
    }
}
